/** 
 * FunctionNotFoundException.java
 * @author Lex
 * 2007-8-23 ����06:02:38
 */
package fun.parser;

import fun.parser.ast.node.FunctionExpression;

/**
 * ����û���ڷ�ű����ҵ�ʱ���׳�����쳣
 */
public class FunctionNotFoundException extends EvaluationException {
	private FunctionExpression fun = null;

	public FunctionNotFoundException(FunctionExpression fun) {
		super(fun.toPlainString());
		this.fun = fun;
	}

	public FunctionExpression getFunction() {
		return this.fun;
	}
}
